package com.define.ssh.util;

public class CheckClientType {

	public static String getClientType(String UserAgent) {
		UserAgent = UserAgent.toLowerCase();
		if (UserAgent.contains("iphone") || UserAgent.contains("blackberry")
				|| UserAgent.contains("mobile")
				|| UserAgent.contains("windows ce")
				|| UserAgent.contains("opera mini")
				|| UserAgent.contains("palm")) {
			return "Mobile";
		}
		return "PC";

	}
}
